/*
 *  data3d.h
 *  emu3d
 *
 *  Created by Anton Barty on 4/9/10.
 *  Copyright 2010 all rights reserved.
 *
 */

#define	tData3d	float

class cData3d {
	
public:
	cData3d();
	cData3d(long);
	~cData3d();
	
	void create(long);
	void create(long, long, long);
	void shift(long,long,long);
	void readHDF5(char *);
	void readHDF5(char *, char*);
	void writeHDF5(char *);
	void setAll(float);

	inline long		element(long,long,long);

	
public:
	long		nx,ny,nz,nn;
	tData3d		*data;
	tData3d		*tempdata;
	
	
private:
	
	
};


